/*
 * GatlingProjectile.java
 *
 * Created on 28. April 2007, 02:06
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package de.tor.obj.impl;

import com.golden.gamedev.object.SpriteGroup;
import com.golden.gamedev.object.sprite.VolatileSprite;
import de.tor.loaders.Level;
import de.tor.obj.*;
import java.awt.image.BufferedImage;

/**
 *
 * @author Charon
 */
public class ShrapnellProjectile extends AbstractProjectile {
    
    private final static String RESOURCE =  "resources/gatling_shell.png";
    private final static String SYMBOL_RESOURCE =  "resources/gatling_symbol.png";
    private SpriteGroup mShrapnells = null;
    private int iHealth = 10;
    
    /** Creates a new instance of GatlingProjectile */
    public ShrapnellProjectile(TorridityGameObject pOwner, Level pLevel, BufferedImage image) {
        super(pOwner, pLevel, image);
    }
    
    public static String getResourceName(){
        return RESOURCE;
    }
    
    public static String getSymbolResourceName(){
        return SYMBOL_RESOURCE;
    }
    
    public int getCollisionDamage(){
        return 10;
    }
    
    public void setupProjectile() {
    }
    
    public void doDamage(int v){
    }
    
    public int getMaxHealth() {
        return 10;
    }
    
    public int getHealth(){
        return iHealth;
    }
    
    public VolatileSprite getDestructionAnimation() {
        return null;
    }
    
    public void initObject() {
    }
    
    public boolean isDestructable() {
        return true;
    }
    
    public void updateTorridityGameObject(long elapsedTime) {
    }
}
